/*
 * IndiceBursatilDTO.java
 *
 * Created on 29 de octubre de 2007, 9:32
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor
 */

package webportlet.model.indiceBursatil.dto;

/**
 *
 * @author Alvarete
 */
public class IndiceBursatilDTO {
    private Long id;
    private String empresa;
    private Double valor;
    /**
     * Creates a new instance of IndiceBursatilDTO
     */
    public IndiceBursatilDTO() {
    }
    
    public IndiceBursatilDTO(Long id, String empresa, Double valor)
    {
        this.id = id;
        this.empresa = empresa;
        this.valor = valor;
    
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEmpresa() {
        return empresa;
    }

    public void setEmpresa(String empresa) {
        this.empresa = empresa;
    }

    public Double getValor() {
        return valor;
    }

    public void setValor(Double valor) {
        this.valor = valor;
    }
    
    public String toString() {
        return new String("idIndiceBursatil = " + getId() + " | " +
            "Empresa = " + getEmpresa() + " | " +
            "Valor = " + getValor());
    }
    
}
